package com.dengzhuo.server;

import com.dengzhuo.core.annotation.ServiceScan;
import com.dengzhuo.core.serializer.CommonSerializer;
import com.dengzhuo.core.transport.RpcServer;
import com.dengzhuo.core.transport.socket.server.SocketServer;

/**
 * @author 阿卓
 * @version 1.0
 * @date 2021/3/10 0010 13:18
 */
@ServiceScan
public class SocketTestServer {

    public static void main(String[] args) {
        RpcServer server = new SocketServer("127.0.0.1", 9998, CommonSerializer.HESSIAN_SERIALIZER);
        server.start();
    }

}
